class UserObserver < ActiveRecord::Observer
  def after_create(user)
    UserNotifier.deliver_signup_notification(user) unless user.created_by_volcom
  end

  def after_save(user)
    UserNotifier.deliver_activation(user) if (user.recently_activated? && !user.created_by_volcom)
  end
end